home *** CD-ROM | disk | FTP | other *** search
/ Practical Internet Web Designer 90 / PIWD90.iso / pc / contents / flash / tutorial_files / Pages60-64 / ZoomMenu_MX.fla / Symbol 3 < prev    next >
Unknown  |  2003-01-01  |  2.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 01 ff ff 01 00 08 00 43 | 50 69 63 50 61 67 65 01 |.......C|PicPage.|
|00000010| 00 ff ff 01 00 09 00 43 | 50 69 63 4c 61 79 65 72 |.......C|PicLayer|
|00000020| 01 00 ff ff 01 00 09 00 | 43 50 69 63 46 72 61 6d |........|CPicFram|
|00000030| 65 01 00 00 00 00 00 00 | 80 00 00 00 80 02 00 00 |e.......|........|
|00000040| 01 00 00 00 00 00 00 00 | 00 00 00 00 01 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 05 04 | 00 00 00 01 00 33 33 33 |........|.....333|
|00000060| ff 00 00 00 00 f3 00 00 | 01 ef 55 60 3b 10 aa 00 |........|..U`;...|
|00000070| 00 30 00 00 a0 c4 30 f0 | 55 00 00 30 00 00 60 3b |.0....0.|U..0..`;|
|00000080| 00 00 00 00 00 16 01 00 | 00 06 00 00 00 00 00 00 |........|........|
|00000090| 01 00 00 00 00 00 00 ff | ff ff 3f ff ff 00 01 00 |........|..?.....|
|000000a0| 00 00 01 00 00 00 92 55 | 00 00 00 00 00 00 00 00 |.......U|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 01 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 80 00 00 | 00 80 0a 04 62 61 63 6b |........|....back|
|000000e0| 00 00 00 ff ff ff ff 4f | ff 4f ff 00 00 00 00 01 |.......O|.O......|
|000000f0| 00 00 00 00 00 00 01 00 | 03 80 01 00 05 80 01 00 |........|........|
|00000100| 00 00 00 00 00 80 00 00 | 00 80 02 00 00 01 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 05 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 16 01 00 00 06 00 00 | 00 00 00 00 01 00 00 00 |........|........|
|00000140| 00 00 00 ff ff ff 3f ff | ff 00 01 00 00 00 01 00 |......?.|........|
|00000150| 00 00 2a 15 00 00 00 00 | 00 00 ff 70 08 23 69 6e |..*.....|...p.#in|
|00000160| 69 74 63 6c 69 70 0d 0a | 66 75 6e 63 74 69 6f 6e |itclip..|function|
|00000170| 20 53 65 63 74 69 6f 6e | 56 69 65 77 65 72 28 29 | Section|Viewer()|
|00000180| 20 7b 0d 0a 09 74 68 69 | 73 2e 73 65 63 74 69 6f | {...thi|s.sectio|
|00000190| 6e 73 20 3d 20 7b 7d 3b | 0d 0a 09 74 68 69 73 2e |ns = {};|...this.|
|000001a0| 77 69 64 74 68 20 3d 20 | 74 68 69 73 2e 5f 77 69 |width = |this._wi|
|000001b0| 64 74 68 3b 0d 0a 09 74 | 68 69 73 2e 63 72 65 61 |dth;...t|his.crea|
|000001c0| 74 65 45 6d 70 74 79 4d | 6f 76 69 65 43 6c 69 70 |teEmptyM|ovieClip|
|000001d0| 28 22 73 65 63 74 69 6f | 6e 48 6f 6c 64 65 72 22 |("sectio|nHolder"|
|000001e0| 2c 20 74 68 69 73 2e 62 | 61 63 6b 67 72 6f 75 6e |, this.b|ackgroun|
|000001f0| 64 43 6c 69 70 73 2e 6c | 65 6e 67 74 68 29 3b 0d |dClips.l|ength);.|
|00000200| 0a 09 74 68 69 73 2e 63 | 6c 69 70 73 20 3d 20 5b |..this.c|lips = [|
|00000210| 5d 3b 0d 0a 09 66 6f 72 | 20 28 76 61 72 20 69 20 |];...for| (var i |
|00000220| 3d 20 30 3b 20 69 3c 74 | 68 69 73 2e 62 61 63 6b |= 0; i<t|his.back|
|00000230| 67 72 6f 75 6e 64 43 6c | 69 70 73 2e 6c 65 6e 67 |groundCl|ips.leng|
|00000240| 74 68 3b 20 69 2b 2b 29 | 20 7b 0d 0a 09 09 74 68 |th; i++)| {....th|
|00000250| 69 73 2e 63 6c 69 70 73 | 2e 70 75 73 68 28 74 68 |is.clips|.push(th|
|00000260| 69 73 2e 61 74 74 61 63 | 68 4d 6f 76 69 65 28 74 |is.attac|hMovie(t|
|00000270| 68 69 73 2e 62 61 63 6b | 67 72 6f 75 6e 64 43 6c |his.back|groundCl|
|00000280| 69 70 73 5b 69 5d 2c 20 | 74 68 69 73 2e 62 61 63 |ips[i], |this.bac|
|00000290| 6b 67 72 6f 75 6e 64 43 | 6c 69 70 73 5b 69 5d 2c |kgroundC|lips[i],|
|000002a0| 20 69 29 29 3b 0d 0a 09 | 7d 0d 0a 09 74 68 69 73 | i));...|}...this|
|000002b0| 2e 63 6c 69 70 4e 75 6d | 20 3d 20 30 3b 0d 0a 7d |.clipNum| = 0;..}|
|000002c0| 0d 0a 76 61 72 20 70 20 | 3d 20 53 65 63 74 69 6f |..var p |= Sectio|
|000002d0| 6e 56 69 65 77 65 72 2e | 70 72 6f 74 6f 74 79 70 |nViewer.|prototyp|
|000002e0| 65 3d 6e 65 77 20 4d 6f | 76 69 65 43 6c 69 70 28 |e=new Mo|vieClip(|
|000002f0| 29 3b 0d 0a 70 2e 66 69 | 6e 64 53 65 63 74 69 6f |);..p.fi|ndSectio|
|00000300| 6e 49 6e 64 65 78 20 3d | 20 66 75 6e 63 74 69 6f |nIndex =| functio|
|00000310| 6e 28 6e 6d 29 20 7b 0d | 0a 09 66 6f 72 20 28 76 |n(nm) {.|..for (v|
|00000320| 61 72 20 69 20 69 6e 20 | 74 68 69 73 2e 73 65 63 |ar i in |this.sec|
|00000330| 74 69 6f 6e 4f 72 64 65 | 72 29 20 7b 0d 0a 09 09 |tionOrde|r) {....|
|00000340| 69 66 20 28 74 68 69 73 | 2e 73 65 63 74 69 6f 6e |if (this|.section|
|00000350| 4f 72 64 65 72 5b 69 5d | 20 3d 3d 20 6e 6d 29 20 |Order[i]| == nm) |
|00000360| 7b 0d 0a 09 09 09 72 65 | 74 75 72 6e 20 69 3b 0d |{.....re|turn i;.|
|00000370| 0a 09 09 7d 0d 0a 09 7d | 0d 0a 7d 3b 0d 0a 70 2e |...}...}|..};..p.|
|00000380| 6c 6f 61 64 53 65 63 74 | 69 6f 6e 20 3d 20 66 75 |loadSect|ion = fu|
|00000390| 6e 63 74 69 6f 6e 28 73 | 65 63 74 69 6f 6e 4e 61 |nction(s|ectionNa|
|000003a0| 6d 65 2c 20 73 65 63 74 | 69 6f 6e 4c 69 6e 6b 29 |me, sect|ionLink)|
|000003b0| 20 7b 0d 0a 09 76 61 72 | 20 63 6c 69 70 20 3d 20 | {...var| clip = |
|000003c0| 74 68 69 73 2e 73 65 63 | 74 69 6f 6e 48 6f 6c 64 |this.sec|tionHold|
|000003d0| 65 72 2e 61 74 74 61 63 | 68 4d 6f 76 69 65 28 73 |er.attac|hMovie(s|
|000003e0| 65 63 74 69 6f 6e 4c 69 | 6e 6b 2c 20 73 65 63 74 |ectionLi|nk, sect|
|000003f0| 69 6f 6e 4e 61 6d 65 2c | 20 74 68 69 73 2e 63 6c |ionName,| this.cl|
|00000400| 69 70 4e 75 6d 2b 2b 29 | 3b 0d 0a 09 74 68 69 73 |ipNum++)|;...this|
|00000410| 2e 73 65 63 74 69 6f 6e | 73 5b 73 65 63 74 69 6f |.section|s[sectio|
|00000420| 6e 4e 61 6d 65 5d 20 3d | 20 63 6c 69 70 3b 0d 0a |nName] =| clip;..|
|00000430| 09 63 6c 69 70 2e 5f 78 | 20 3d 20 74 68 69 73 2e |.clip._x| = this.|
|00000440| 77 69 64 74 68 2a 74 68 | 69 73 2e 66 69 6e 64 53 |width*th|is.findS|
|00000450| 65 63 74 69 6f 6e 49 6e | 64 65 78 28 73 65 63 74 |ectionIn|dex(sect|
|00000460| 69 6f 6e 4e 61 6d 65 29 | 3b 0d 0a 7d 3b 0d 0a 70 |ionName)|;..};..p|
|00000470| 2e 7a 6f 6f 6d 53 65 63 | 74 69 6f 6e 73 20 3d 20 |.zoomSec|tions = |
|00000480| 66 75 6e 63 74 69 6f 6e | 28 29 20 7b 0d 0a 09 76 |function|() {...v|
|00000490| 61 72 20 73 20 3d 20 74 | 68 69 73 2e 73 65 63 74 |ar s = t|his.sect|
|000004a0| 69 6f 6e 48 6f 6c 64 65 | 72 3b 0d 0a 09 73 2e 5f |ionHolde|r;...s._|
|000004b0| 78 73 63 61 6c 65 20 3d | 20 73 2e 5f 79 73 63 61 |xscale =| s._ysca|
|000004c0| 6c 65 20 2d 3d 20 28 73 | 2e 5f 78 73 63 61 6c 65 |le -= (s|._xscale|
|000004d0| 2d 74 68 69 73 2e 65 6e | 64 53 63 61 6c 65 29 2f |-this.en|dScale)/|
|000004e0| 74 68 69 73 2e 7a 6f 6f | 6d 52 61 74 65 3b 0d 0a |this.zoo|mRate;..|
|000004f0| 09 73 2e 5f 78 20 2d 3d | 20 28 73 2e 5f 78 2d 74 |.s._x -=| (s._x-t|
|00000500| 68 69 73 2e 65 6e 64 58 | 29 2f 74 68 69 73 2e 7a |his.endX|)/this.z|
|00000510| 6f 6f 6d 52 61 74 65 3b | 0d 0a 09 73 2e 5f 79 20 |oomRate;|...s._y |
|00000520| 2d 3d 20 28 73 2e 5f 79 | 2d 74 68 69 73 2e 65 6e |-= (s._y|-this.en|
|00000530| 64 59 29 2f 74 68 69 73 | 2e 7a 6f 6f 6d 52 61 74 |dY)/this|.zoomRat|
|00000540| 65 3b 0d 0a 09 69 66 20 | 28 28 4d 61 74 68 2e 61 |e;...if |((Math.a|
|00000550| 62 73 28 73 2e 5f 78 2d | 74 68 69 73 2e 65 6e 64 |bs(s._x-|this.end|
|00000560| 58 29 3c 31 29 20 26 26 | 20 28 28 74 68 69 73 2e |X)<1) &&| ((this.|
|00000570| 65 6e 64 59 2d 73 2e 5f | 79 29 3c 31 29 20 26 26 |endY-s._|y)<1) &&|
|00000580| 20 28 28 73 2e 5f 78 73 | 63 61 6c 65 2d 31 30 30 | ((s._xs|cale-100|
|00000590| 29 3c 31 29 29 20 7b 0d | 0a 09 09 63 6c 65 61 72 |)<1)) {.|...clear|
|000005a0| 49 6e 74 65 72 76 61 6c | 28 74 68 69 73 2e 7a 6f |Interval|(this.zo|
|000005b0| 6f 6d 49 6e 74 65 72 76 | 61 6c 29 3b 0d 0a 09 09 |omInterv|al);....|
|000005c0| 73 2e 5f 78 20 3d 20 74 | 68 69 73 2e 65 6e 64 58 |s._x = t|his.endX|
|000005d0| 3b 0d 0a 09 09 73 2e 5f | 79 20 3d 20 74 68 69 73 |;....s._|y = this|
|000005e0| 2e 65 6e 64 59 3b 0d 0a | 09 09 73 2e 5f 78 73 63 |.endY;..|..s._xsc|
|000005f0| 61 6c 65 20 3d 20 73 2e | 5f 79 73 63 61 6c 65 3d |ale = s.|_yscale=|
|00000600| 74 68 69 73 2e 65 6e 64 | 53 63 61 6c 65 3b 0d 0a |this.end|Scale;..|
|00000610| 09 7d 0d 0a 09 66 6f 72 | 20 28 76 61 72 20 69 20 |.}...for| (var i |
|00000620| 69 6e 20 74 68 69 73 2e | 63 6c 69 70 73 29 20 7b |in this.|clips) {|
|00000630| 0d 0a 09 09 76 61 72 20 | 63 20 3d 20 74 68 69 73 |....var |c = this|
|00000640| 2e 63 6c 69 70 73 5b 69 | 5d 3b 0d 0a 09 09 76 61 |.clips[i|];....va|
|00000650| 72 20 61 64 6a 20 3d 20 | 28 4e 75 6d 62 65 72 28 |r adj = |(Number(|
|00000660| 69 29 2b 31 29 2a 2e 31 | 3b 0d 0a 09 09 63 2e 5f |i)+1)*.1|;....c._|
|00000670| 78 73 63 61 6c 65 20 3d | 20 63 2e 5f 79 73 63 61 |xscale =| c._ysca|
|00000680| 6c 65 3d 31 30 30 2b 28 | 73 2e 5f 78 73 63 61 6c |le=100+(|s._xscal|
|00000690| 65 2d 31 30 30 29 2a 61 | 64 6a 3b 0d 0a 09 09 63 |e-100)*a|dj;....c|
|000006a0| 2e 5f 78 20 3d 20 28 73 | 2e 5f 78 2f 28 73 2e 5f |._x = (s|._x/(s._|
|000006b0| 78 73 63 61 6c 65 2f 31 | 30 30 29 29 2f 28 74 68 |xscale/1|00))/(th|
|000006c0| 69 73 2e 73 65 63 74 69 | 6f 6e 4f 72 64 65 72 2e |is.secti|onOrder.|
|000006d0| 6c 65 6e 67 74 68 2a 74 | 68 69 73 2e 77 69 64 74 |length*t|his.widt|
|000006e0| 68 29 2a 28 63 2e 5f 77 | 69 64 74 68 2d 74 68 69 |h)*(c._w|idth-thi|
|000006f0| 73 2e 77 69 64 74 68 29 | 3b 0d 0a 09 09 63 2e 5f |s.width)|;....c._|
|00000700| 79 20 3d 20 73 2e 5f 79 | 2a 61 64 6a 3b 0d 0a 09 |y = s._y|*adj;...|
|00000710| 7d 0d 0a 09 75 70 64 61 | 74 65 41 66 74 65 72 45 |}...upda|teAfterE|
|00000720| 76 65 6e 74 28 29 3b 0d | 0a 7d 3b 0d 0a 70 2e 7a |vent();.|.};..p.z|
|00000730| 6f 6f 6d 54 6f 44 65 74 | 61 69 6c 20 3d 20 66 75 |oomToDet|ail = fu|
|00000740| 6e 63 74 69 6f 6e 28 73 | 65 63 74 69 6f 6e 29 20 |nction(s|ection) |
|00000750| 7b 0d 0a 09 76 61 72 20 | 64 65 74 61 69 6c 20 3d |{...var |detail =|
|00000760| 20 74 68 69 73 2e 73 65 | 63 74 69 6f 6e 73 5b 73 | this.se|ctions[s|
|00000770| 65 63 74 69 6f 6e 5d 2e | 64 65 74 61 69 6c 3b 0d |ection].|detail;.|
|00000780| 0a 09 76 61 72 20 61 64 | 6a 20 3d 20 74 68 69 73 |..var ad|j = this|
|00000790| 2e 77 69 64 74 68 2f 64 | 65 74 61 69 6c 2e 5f 77 |.width/d|etail._w|
|000007a0| 69 64 74 68 3b 0d 0a 09 | 74 68 69 73 2e 65 6e 64 |idth;...|this.end|
|000007b0| 58 20 3d 20 28 2d 74 68 | 69 73 2e 77 69 64 74 68 |X = (-th|is.width|
|000007c0| 2a 74 68 69 73 2e 66 69 | 6e 64 53 65 63 74 69 6f |*this.fi|ndSectio|
|000007d0| 6e 49 6e 64 65 78 28 73 | 65 63 74 69 6f 6e 29 2d |nIndex(s|ection)-|
|000007e0| 64 65 74 61 69 6c 2e 5f | 78 29 2a 61 64 6a 3b 0d |detail._|x)*adj;.|
|000007f0| 0a 09 74 68 69 73 2e 65 | 6e 64 59 20 3d 20 2d 64 |..this.e|ndY = -d|
|00000800| 65 74 61 69 6c 2e 5f 79 | 2a 61 64 6a 3b 0d 0a 09 |etail._y|*adj;...|
|00000810| 74 68 69 73 2e 65 6e 64 | 53 63 61 6c 65 20 3d 20 |this.end|Scale = |
|00000820| 61 64 6a 2a 31 30 30 3b | 0d 0a 09 63 6c 65 61 72 |adj*100;|...clear|
|00000830| 49 6e 74 65 72 76 61 6c | 28 74 68 69 73 2e 7a 6f |Interval|(this.zo|
|00000840| 6f 6d 49 6e 74 65 72 76 | 61 6c 29 3b 0d 0a 09 74 |omInterv|al);...t|
|00000850| 68 69 73 2e 7a 6f 6f 6d | 49 6e 74 65 72 76 61 6c |his.zoom|Interval|
|00000860| 20 3d 20 73 65 74 49 6e | 74 65 72 76 61 6c 28 74 | = setIn|terval(t|
|00000870| 68 69 73 2c 20 22 7a 6f | 6f 6d 53 65 63 74 69 6f |his, "zo|omSectio|
|00000880| 6e 73 22 2c 20 34 30 29 | 3b 0d 0a 7d 3b 0d 0a 70 |ns", 40)|;..};..p|
|00000890| 2e 7a 6f 6f 6d 54 6f 53 | 65 63 74 69 6f 6e 20 3d |.zoomToS|ection =|
|000008a0| 20 66 75 6e 63 74 69 6f | 6e 28 73 65 63 74 69 6f | functio|n(sectio|
|000008b0| 6e 29 20 7b 0d 0a 09 74 | 68 69 73 2e 65 6e 64 58 |n) {...t|his.endX|
|000008c0| 20 3d 20 2d 74 68 69 73 | 2e 77 69 64 74 68 2a 74 | = -this|.width*t|
|000008d0| 68 69 73 2e 66 69 6e 64 | 53 65 63 74 69 6f 6e 49 |his.find|SectionI|
|000008e0| 6e 64 65 78 28 73 65 63 | 74 69 6f 6e 29 3b 0d 0a |ndex(sec|tion);..|
|000008f0| 09 74 68 69 73 2e 65 6e | 64 59 20 3d 20 30 3b 0d |.this.en|dY = 0;.|
|00000900| 0a 09 74 68 69 73 2e 65 | 6e 64 53 63 61 6c 65 20 |..this.e|ndScale |
|00000910| 3d 20 31 30 30 3b 0d 0a | 09 63 6c 65 61 72 49 6e |= 100;..|.clearIn|
|00000920| 74 65 72 76 61 6c 28 74 | 68 69 73 2e 7a 6f 6f 6d |terval(t|his.zoom|
|00000930| 49 6e 74 65 72 76 61 6c | 29 3b 0d 0a 09 74 68 69 |Interval|);...thi|
|00000940| 73 2e 7a 6f 6f 6d 49 6e | 74 65 72 76 61 6c 20 3d |s.zoomIn|terval =|
|00000950| 20 73 65 74 49 6e 74 65 | 72 76 61 6c 28 74 68 69 | setInte|rval(thi|
|00000960| 73 2c 20 22 7a 6f 6f 6d | 53 65 63 74 69 6f 6e 73 |s, "zoom|Sections|
|00000970| 22 2c 20 34 30 29 3b 0d | 0a 7d 3b 0d 0a 4f 62 6a |", 40);.|.};..Obj|
|00000980| 65 63 74 2e 72 65 67 69 | 73 74 65 72 43 6c 61 73 |ect.regi|sterClas|
|00000990| 73 28 22 73 65 63 74 69 | 6f 6e 56 69 65 77 65 72 |s("secti|onViewer|
|000009a0| 22 2c 20 53 65 63 74 69 | 6f 6e 56 69 65 77 65 72 |", Secti|onViewer|
|000009b0| 29 3b 0d 0a 64 65 6c 65 | 74 65 20 70 3b 0d 0a 23 |);..dele|te p;..#|
|000009c0| 65 6e 64 69 6e 69 74 63 | 6c 69 70 0d 0a 00 00 00 |endinitc|lip.....|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 01 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 80 00 00 00 80 | 0a 04 63 6f 64 65 01 00 |........|..code..|
|00000a00| 00 ff ff ff ff 99 33 cc | ff 00 00 00 00 01 00 00 |......3.|........|
|00000a10| 00 00 00 00 01 00 00 00 | 00 00 00 80 00 00 00 80 |........|........|
|00000a20| 03 03 00 00 00 00 00 | |....... | |
+--------+-------------------------+-------------------------+--------+--------+